{% extends "master.html" %}
{% block subtitle %} - 主面板 - 仓位管理 - 出入记录{% endblock %}


{% block main %}
<div class="container">
    <div class="row">
        <ol class="breadcrumb">
          <li><a href="{{url_for('bpRoot.view')}}">主面板</a></li>
          <li><a href="{{url_for('bpIvt.view')}}">仓位管理</a></li>
          <li class="active">出入记录</li>
        </ol>
    </div>

    
    <div class="row">
        <h4>仓位  : {{obj.name}}</h4>
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>系统编号</th>
                    <th>出入方向</th>
                    <th>涉及</th>
                    <th>状态</th>
                    <th>经办人</th>
                    <th>录入时间</th>
                </tr>
            </thead>
            <tbody>
                {% for r in result %}
                    <tr>
                        <td><a href="{{url_for('bpIvtnt.view',action='view',id=r.id)}}">{{r.no}}</a></td>
                        <td>{{r.direction|ss(c='IVTNT')}}</td>
                        <td>{{r.refer}}</td>
                        <td>{{r.status|ss(c='IVTNT')}}</td>
                        <td>{{r.createBy|f}}</td>
                        <td>{{r.createTime|ft}}</td>
                    </tr>
                {% endfor %}
            </tbody>                
        </table>    
    </div>
    
 
</div>
{% endblock %}